package com.lapian.designmode.observer.improve.test.improveE;

public class TangSanApp extends ObserverC{
    private String weather;

    @Override
    void update(String weather) {
        this.weather=weather;
        notifyC();
    }

    private void notifyC() {
        System.out.println("唐三app天气展示为："+weather);
    }
}
